import request from "../../utils/request"
export const requestPost=(url:any,obj:any)=>{
    return request({
        url:url,
        method:"post",
        data:obj
    })
}

export const requestGet=(url:any,obj:any)=>{
    return request({
        url:url,
        method:"get",
        params:obj
    })
}